package com.yunyao.dao.service.bamu.impl;

import com.yunyao.dao.model.BamuReceiveContractInvoice;
import com.yunyao.dao.mapper.BamuReceiveContractInvoiceMapper;
import com.yunyao.dao.service.bamu.IBamuReceiveContractInvoiceService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 收款合同发票 服务实现类
 * </p>
 *
 * @author xingjishuai
 * @since 2024-07-02
 */
@Service
public class BamuReceiveContractInvoiceServiceImpl extends ServiceImpl<BamuReceiveContractInvoiceMapper, BamuReceiveContractInvoice> implements IBamuReceiveContractInvoiceService {
    @Autowired
    BamuReceiveContractInvoiceMapper bamuReceiveContractInvoiceMapper;

    public List<BamuReceiveContractInvoice> getReceiveContractInvoiceByContractId(String contractId) {
        return bamuReceiveContractInvoiceMapper.getReceiveContractInvoiceByContractId(contractId);
    }
}
